package com.yan.common.mq.dirct;


import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by yanl_ on 2018/4/17.
 */
@Configuration
public class DirctConfig {


    @Bean(name = "test")
    public Queue queue() {
        return new Queue("test");
    }



    @Bean(name = "test1")
    public Queue queue1() {
        return new Queue("test1");
    }


    @Bean(name = "test2")
    public Queue queue2() {
        return new Queue("test2");
    }


    @Bean(name = "test3")
    public Queue queue3() {
        return new Queue("test3");
    }
}
